import Vue from "vue";
import Router from "vue-router";

Vue.use(Router);
import Chart from "./Chart";
import Detail from "./Detail";

export default new Router({
  routes: [
    { path: "/", name: "Chart", component: Chart, meta: { type: 1 } },
    { path: "/detail", name: "Detail", component: Detail, meta: { type: 0 } }
  ]
});
